package cn.wolfcode.service;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {
    PageInfo<SystemDictionaryItem> selectForList(QueryObject qo);

    List<SystemDictionaryItem> selectSuperiordetails();

    List<SystemDictionaryItem> selectByTypeId(Long id);
    /*根据目录中的sn来查询某一个类别下所有的详细，比如business对应的是业务大类*/
    List<SystemDictionaryItem> selectByTypeSn(String sn);
    //查询所有的业务大类
    List<SystemDictionaryItem> selectAll();
    //通过parent_id查询所有的业务小类
    List<SystemDictionaryItem> selectByParentId(Long parentId);
}
